package com.lizhaoshan.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lizhaoshan.pojo.SetMeal;
import com.lizhaoshan.vo.SetMealVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * @program: reggie
 * @description: 套餐数据库接口
 * @author: lamour
 * @create: 2022-05-13 20:48
 **/
@Mapper
public interface SetMealDao {
    int insertSetMeal(SetMeal setMeal);

    SetMeal selectById(String id);

    int update(SetMeal setMeal1);

    int count();

    List<SetMealVo> selectPage(@Param("begin") Integer begin,
                               @Param("size") Integer size,
                               @Param("name") String name);

    int deleteByIds(@Param("ids") String[] ids);

    int updateStatus(@Param("status") Integer status,@Param("stringList") List<String> stringList);
}
